// modules are defined as an array
// [ module function, map of requires ]
//
// map of requires is short require name -> numeric require
//
// anything defined in a previous bundle is accessed via the
// orig method which is the require for previous bundles

require = (function (modules, cache, entry) {
  // Save the require from previous bundle to this closure if any
  var previousRequire = typeof require === "function" && require;

  function newRequire(name, jumped) {
    if (!cache[name]) {
      if (!modules[name]) {
        // if we cannot find the module within our internal map or
        // cache jump to the current global require ie. the last bundle
        // that was added to the page.
        var currentRequire = typeof require === "function" && require;
        if (!jumped && currentRequire) {
          return currentRequire(name, true);
        }

        // If there are other bundles on this page the require from the
        // previous one is saved to 'previousRequire'. Repeat this as
        // many times as there are bundles until the module is found or
        // we exhaust the require chain.
        if (previousRequire) {
          return previousRequire(name, true);
        }

        var err = new Error('Cannot find module \'' + name + '\'');
        err.code = 'MODULE_NOT_FOUND';
        throw err;
      }

      function localRequire(x) {
        return newRequire(localRequire.resolve(x));
      }

      localRequire.resolve = function (x) {
        return modules[name][1][x] || x;
      };

      var module = cache[name] = new newRequire.Module;
      modules[name][0].call(module.exports, localRequire, module, module.exports);
    }

    return cache[name].exports;
  }

  function Module() {
    this.bundle = newRequire;
    this.exports = {};
  }

  newRequire.Module = Module;
  newRequire.modules = modules;
  newRequire.cache = cache;
  newRequire.parent = previousRequire;

  for (var i = 0; i < entry.length; i++) {
    newRequire(entry[i]);
  }

  // Override the current require with this new one
  return newRequire;
})({3:[function(require,module,exports) {
function e(e){var t=0,n=!1;for(t=0;t<y[e].length;++t)if(0==m[y[e][t]]){n=!0;break}return 1==n?y[e][t]:0}function t(){a+=1;var e=parseInt(a/60),t=a%60;document.getElementById("timer").innerHTML=e+"分"+t+"秒"}function n(){l?(document.getElementById("start").innerHTML="暂停",l=!1,d=setInterval(t,1e3)):(document.getElementById("start").innerHTML="开始",l=!0,clearInterval(d))}function r(){a=0,o(),l&&n()}function o(){for(var e=9;e>1;--e){var t=parseInt(Math.random()*(e-1)+1);0!=m[e]&&(document.getElementById("d"+m[e]).style.left=c[t][0]+"px",document.getElementById("d"+m[e]).style.top=c[t][1]+"px"),0!=m[t]&&(document.getElementById("d"+m[t]).style.left=c[e][0]+"px",document.getElementById("d"+m[t]).style.top=c[e][1]+"px");var n=m[t];m[t]=m[e],m[e]=n}}var d,a=0,l=!0,m=new Array(10),y=new Array([0],[2,4],[1,3,5],[2,6],[1,5,7],[2,4,6,8],[3,5,9],[4,8],[5,7,9],[6,8]),c=new Array([0],[0,0],[150,0],[300,0],[0,150],[150,150],[300,150],[0,300],[150,300],[300,300]);m[1]=1,m[2]=2,m[3]=3,m[4]=4,m[5]=5,m[6]=6,m[7]=7,m[8]=8,m[9]=0,window.move=function(t){var r=1;for(r=1;r<10&&m[r]!=t;++r);var o=0;0!=(o=e(r))&&(m[r]=0,m[o]=t,document.getElementById("d"+t).style.left=c[o][0]+"px",document.getElementById("d"+t).style.top=c[o][1]+"px");for(var d=!0,a=1;a<9;++a)if(m[a]!=a){d=!1;break}1==d&&(l||n(),alert("恭喜你完成"))},window.onload=function(){r()};
},{}]},{},[3])